Skip to main content

LeaseCompany_Supplier_ServiceUnit Tables

The leaseCompany_suppliers_serviceUnit_latest and leaseCompany_suppliers_serviceUnit_changelog tables stores the data of all service units under lease, including commercial terms, franchises and availability status.


πŸ”Ή Standard Columns​

Column NameData TypeNullableDescription
document_nameSTRINGYESName of the document
document_event_idSTRINGYESUnique ID for the document change event
document_timestampTIMESTAMPYESTimestamp of the document event
document_operationSTRINGYESType of document operation (e.g., INSERT, UPDATE, DELETE)
document_idSTRINGYESUnique identifier of the document
leaseCompanyIdSTRINGYESIdentifier for the lease company
accountIdSTRINGYESUnique identifier for the account
serviceUnitIdSTRINGYESIdentifier for the service unit
faGarageGroupIdSTRINGYESIdentifier for the FA garage group
faGarageIdSTRINGYESIdentifier for the FA garage
fnpSTRUCT fnpBand STRING, isEnabled BOOLYESFixed negotiated pricing configuration
groupIdSTRINGYESIdentifier for the group the account belongs to
independentBOOLYESWhether the account is independent (not part of a network)
paybillSTRINGYESPaybill reference
supplierIdSTRINGYESIdentifier for the supplier
isTerminatedBOOLYESIndicates if the account has been terminated

πŸ”Έ Struct Columns​

commercialTerms​

Column NameData TypeNullableDescription
contractEndDateSTRUCT seconds INT64, nanoseconds INT64YESend date of contract
contractStartDateSTRUCT seconds INT64, nanoseconds INT64YESstart date of contract
paymentTermsINT64YESTerm of payment
rebateSTRUCT masked STRING, raw FLOAT64YESrebate
rebateAmountSTRUCT masked STRING, raw FLOAT64, value INT64YESrebateAmount
userSTRUCT company STRING, contact STRUCT Of contactNumber1 STRING, email STRINGYESuser details
firstnameSTRINGYESfirstname of the user
lastnameSTRINGYESlastname of the user
objectIDSTRINGYESunique id of user

fluidRates : Array of Struct​

Column NameData TypeNullableDescription
effectiveDateTIMESTAMPYESfluid rate effective on date
isAvailableBOOLYESis fluid rate available
rateFLOAT64YESfluid rate
typeINT64YESfluid type
typeValueSTRINGYESfluid type value

franchises : Array of Struct​

Column NameData TypeNullableDescription
labelSTRINGYESfranchise label
labourRatesARRAY OF STRUCTYESlabour rate effective on date
labourRates.effectiveDateTIMESTAMPYESlabour rate effective on date
labourRates.isAvailableBOOLYESis labour rate available
labourRates.rateFLOAT64YESlabour rate
labourRates.typeINT64YESlabour type
labourRates.typeValueSTRINGYESlabour type value
labourRates.vehicleCategoryTypeSTRINGYESvehicleCategoryType
partsDiscountSTRINGYESpartsDiscount

motRates : Array of Struct​

Column NameData TypeNullableDescription
motRatesARRAY OF STRUCTYESMOT service rates based on class types
motRates.classTypeINT64YESMOT class type
motRates.classTypeValueSTRINGYESMOT class type value
motRates.effectiveDateTIMESTAMPYESEffective date of MOT rate
motRates.isAvailableBOOLYESIs MOT rate available
motRates.rateFLOAT64YESMOT service rate

relationshipAndContact​

Column NameData TypeNullableDescription
relationshipAndContactSTRUCTYESRelationship contacts and user metadata
relationshipAndContact.aftersalesContactSTRUCTYESAftersales contact info
relationshipAndContact.aftersalesContact.nameSTRINGYESName of the aftersales contact
relationshipAndContact.directorContactSTRUCTYESDirector contact info
relationshipAndContact.directorContact.nameSTRINGYESName of the director contact
relationshipAndContact.financeContactSTRUCTYESFinance contact info
relationshipAndContact.financeContact.nameSTRINGYESName of the finance contact
relationshipAndContact.timestampSTRUCTYESTimestamp of the contact record
relationshipAndContact.timestamp._secondsINT64YESSeconds part of the timestamp
relationshipAndContact.timestamp._nanosecondsINT64YESNanoseconds part of the timestamp
relationshipAndContact.userSTRUCTYESUser metadata
relationshipAndContact.user.companySTRINGYESName of the user's company
relationshipAndContact.user.contactSTRUCTYESUser contact information
relationshipAndContact.user.contact.contactNumber1STRINGYESPrimary contact number of the user
relationshipAndContact.user.contact.emailSTRINGYESEmail address of the user
relationshipAndContact.user.firstnameSTRINGYESFirst name of the user
relationshipAndContact.user.lastnameSTRINGYESLast name of the user
relationshipAndContact.user.objectIDSTRINGYESUnique object ID of the user

motRates : Array of Struct​

Column NameData TypeNullableDescription
servicesARRAY OF STRUCTYESServices offered by the supplier
services.isEnabledBOOLYESWhether the service is enabled
services.labelSTRINGYESLabel of the service
services.serviceNameSTRINGYESName of the service
services.typeSTRINGYESType of the service
services.typeValueINT64YESNumerical value for service type

tyreAncillaryRates : Array of Struct​

Column NameData TypeNullableDescription
tyreAncillaryRatesARRAY OF STRUCTYESAncillary tyre service rates
tyreAncillaryRates.effectiveDateTIMESTAMPYESEffective date of the rate
tyreAncillaryRates.isAvailableBOOLYESWhether the rate is available
tyreAncillaryRates.rateFLOAT64YESAncillary service rate
tyreAncillaryRates.typeINT64YESType of ancillary service
tyreAncillaryRates.typeValueSTRINGYESType value (label)

vehicleTypes : Array of Struct​

Column NameData TypeNullableDescription
vehicleTypesARRAY OF STRUCTYESVehicle types serviced or supported
vehicleTypes.isAvailableBOOLYESWhether the vehicle type is serviced
vehicleTypes.labelSTRINGYESLabel of the vehicle type
vehicleTypes.typeSTRINGYESVehicle type identifier
vehicleTypes.typeValueINT64YESNumerical value of vehicle type

wheelAlignmentRates : Array of Struct​

Column NameData TypeNullableDescription
wheelAlignmentRatesARRAY OF STRUCTYESWheel alignment service rates
wheelAlignmentRates.effectiveDateTIMESTAMPYESEffective date of the rate
wheelAlignmentRates.isAvailableBOOLYESWhether the rate is available
wheelAlignmentRates.rateFLOAT64YESWheel alignment rate
wheelAlignmentRates.typeINT64YESAlignment service type
wheelAlignmentRates.typeValueSTRINGYESType label for the service

openingHours​

Column NameData TypeNullableDescription
openingHoursSTRUCTYESWeekly opening hours with custom times
openingHours.saturdaySTRUCTYESSaturday custom timings
openingHours.saturday.customOpeningSTRINGYESSaturday opening time
openingHours.saturday.customClosingSTRINGYESSaturday closing time
openingHours.sundaySTRUCTYESSunday custom timings
openingHours.sunday.customOpeningSTRINGYESSunday opening time
openingHours.sunday.customClosingSTRINGYESSunday closing time
openingHours.sunday.isOpenBOOLYESWhether open on Sunday
openingHours.weekdaySTRUCTYESWeekday custom timings (Mon–Fri)
openingHours.weekday.customOpeningSTRINGYESWeekday opening time
openingHours.weekday.customClosingSTRINGYESWeekday closing time

vehicleServices​

Column NameData TypeNullableDescription
vehicleServicesSTRUCTYESDetailed vehicle services offered
vehicleServices.ancillaryEquipmentSTRUCTYESAncillary equipment services
vehicleServices.ancillaryEquipment.servicingAndRepairsBOOLYESServicing and repairs availability
vehicleServices.bodyworkSTRUCTYESBodywork services
vehicleServices.bodywork.smartRepairsBOOLYESSMART repairs availability
vehicleServices.engineSTRUCTYESEngine-related services
vehicleServices.engine.rebuildBOOLYESEngine rebuild availability
vehicleServices.lockAndKeysSTRUCTYESLock and key services
vehicleServices.lockAndKeys.replacementKeysAndDoorLocksBOOLYESReplacement keys and locks availability
vehicleServices.safetyAndComplianceSTRUCTYESSafety and compliance services
vehicleServices.safetyAndCompliance.lolerWeightTestingBOOLYESLOLER and weight testing availability
vehicleServices.specialisedRepairsSTRUCTYESSpecialised repair services
vehicleServices.specialisedRepairs.dpfFiltersBOOLYESDiesel particulate filter (DPF) repair availability
vehicleServices.specialisedRepairs.misFuelingBOOLYESMisfueling repair service availability